.class public Lcom/xingbook/ui/InsetTingTingViews;
.super Landroid/widget/RelativeLayout;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field private a:F

.field private b:Landroid/view/View;

.field private c:Landroid/view/View;

.field private d:Landroid/view/View;

.field private e:Landroid/widget/TextView;

.field private f:Landroid/widget/ImageView;

.field private g:Ljava/util/ArrayList;

.field private h:Lcom/xingbook/ting/receiver/PlayerStateReceiver;

.field private i:Lcom/xingbook/ting/receiver/TingRetrieverReceiver;

.field private j:Ljava/util/ArrayList;

.field private k:Lcom/xingbook/ui/k;


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 2

    const/4 v1, 0x0

    invoke-direct {p0, p1}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V

    const/high16 v0, 0x3f80

    iput v0, p0, Lcom/xingbook/ui/InsetTingTingViews;->a:F

    iput-object v1, p0, Lcom/xingbook/ui/InsetTingTingViews;->h:Lcom/xingbook/ting/receiver/PlayerStateReceiver;

    iput-object v1, p0, Lcom/xingbook/ui/InsetTingTingViews;->i:Lcom/xingbook/ting/receiver/TingRetrieverReceiver;

    new-instance v0, Lcom/xingbook/ui/k;

    invoke-direct {v0, p0}, Lcom/xingbook/ui/k;-><init>(Lcom/xingbook/ui/InsetTingTingViews;)V

    iput-object v0, p0, Lcom/xingbook/ui/InsetTingTingViews;->k:Lcom/xingbook/ui/k;

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .locals 2

    const/4 v1, 0x0

    invoke-direct {p0, p1, p2}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    const/high16 v0, 0x3f80

    iput v0, p0, Lcom/xingbook/ui/InsetTingTingViews;->a:F

    iput-object v1, p0, Lcom/xingbook/ui/InsetTingTingViews;->h:Lcom/xingbook/ting/receiver/PlayerStateReceiver;

    iput-object v1, p0, Lcom/xingbook/ui/InsetTingTingViews;->i:Lcom/xingbook/ting/receiver/TingRetrieverReceiver;

    new-instance v0, Lcom/xingbook/ui/k;

    invoke-direct {v0, p0}, Lcom/xingbook/ui/k;-><init>(Lcom/xingbook/ui/InsetTingTingViews;)V

    iput-object v0, p0, Lcom/xingbook/ui/InsetTingTingViews;->k:Lcom/xingbook/ui/k;

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
    .locals 2

    const/4 v1, 0x0

    invoke-direct {p0, p1, p2, p3}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    const/high16 v0, 0x3f80

    iput v0, p0, Lcom/xingbook/ui/InsetTingTingViews;->a:F

    iput-object v1, p0, Lcom/xingbook/ui/InsetTingTingViews;->h:Lcom/xingbook/ting/receiver/PlayerStateReceiver;

    iput-object v1, p0, Lcom/xingbook/ui/InsetTingTingViews;->i:Lcom/xingbook/ting/receiver/TingRetrieverReceiver;

    new-instance v0, Lcom/xingbook/ui/k;

    invoke-direct {v0, p0}, Lcom/xingbook/ui/k;-><init>(Lcom/xingbook/ui/InsetTingTingViews;)V

    iput-object v0, p0, Lcom/xingbook/ui/InsetTingTingViews;->k:Lcom/xingbook/ui/k;

    return-void
.end method

.method static synthetic a(Lcom/xingbook/ui/InsetTingTingViews;)Ljava/util/ArrayList;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ui/InsetTingTingViews;->g:Ljava/util/ArrayList;

    return-object v0
.end method

.method private a(F)V
    .locals 11

    const/high16 v10, 0x41d8

    const/high16 v9, 0x3f80

    const v8, 0x44398000

    const/high16 v7, 0x41b0

    const/4 v3, 0x0

    iget v0, p0, Lcom/xingbook/ui/InsetTingTingViews;->a:F

    cmpl-float v0, v0, p1

    if-nez v0, :cond_1

    :cond_0
    return-void

    :cond_1
    iput p1, p0, Lcom/xingbook/ui/InsetTingTingViews;->a:F

    iget-object v0, p0, Lcom/xingbook/ui/InsetTingTingViews;->b:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout$LayoutParams;

    iget-object v1, p0, Lcom/xingbook/ui/InsetTingTingViews;->g:Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    add-int/lit8 v1, v1, -0x1

    mul-int/lit8 v1, v1, 0x7f

    add-int/lit16 v1, v1, 0xc1

    int-to-float v1, v1

    mul-float/2addr v1, p1

    float-to-int v1, v1

    iput v1, v0, Landroid/widget/RelativeLayout$LayoutParams;->height:I

    iget-object v0, p0, Lcom/xingbook/ui/InsetTingTingViews;->c:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout$LayoutParams;

    mul-float v1, v8, p1

    float-to-int v1, v1

    iput v1, v0, Landroid/widget/RelativeLayout$LayoutParams;->width:I

    iget-object v0, p0, Lcom/xingbook/ui/InsetTingTingViews;->d:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout$LayoutParams;

    iget-object v1, p0, Lcom/xingbook/ui/InsetTingTingViews;->g:Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    add-int/lit8 v1, v1, -0x1

    mul-int/lit8 v1, v1, 0x7f

    add-int/lit16 v1, v1, 0xc1

    int-to-float v1, v1

    mul-float/2addr v1, p1

    float-to-int v1, v1

    iput v1, v0, Landroid/widget/RelativeLayout$LayoutParams;->height:I

    mul-float v1, v8, p1

    sub-float/2addr v1, v9

    float-to-int v1, v1

    iput v1, v0, Landroid/widget/RelativeLayout$LayoutParams;->leftMargin:I

    iget-object v0, p0, Lcom/xingbook/ui/InsetTingTingViews;->e:Landroid/widget/TextView;

    mul-float v1, v7, p1

    float-to-int v1, v1

    invoke-virtual {v0, v1, v3, v3, v3}, Landroid/widget/TextView;->setPadding(IIII)V

    iget-object v0, p0, Lcom/xingbook/ui/InsetTingTingViews;->e:Landroid/widget/TextView;

    const/high16 v1, 0x420c

    mul-float/2addr v1, p1

    invoke-virtual {v0, v3, v1}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v0, p0, Lcom/xingbook/ui/InsetTingTingViews;->e:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout$LayoutParams;

    mul-float v1, v8, p1

    float-to-int v1, v1

    iput v1, v0, Landroid/widget/RelativeLayout$LayoutParams;->width:I

    const/high16 v1, 0x4284

    mul-float/2addr v1, p1

    float-to-int v1, v1

    iput v1, v0, Landroid/widget/RelativeLayout$LayoutParams;->height:I

    iget-object v0, p0, Lcom/xingbook/ui/InsetTingTingViews;->f:Landroid/widget/ImageView;

    mul-float v1, v7, p1

    float-to-int v1, v1

    const/high16 v2, 0x4120

    mul-float/2addr v2, p1

    float-to-int v2, v2

    mul-float v4, v7, p1

    float-to-int v4, v4

    const/high16 v5, 0x4180

    mul-float/2addr v5, p1

    float-to-int v5, v5

    invoke-virtual {v0, v1, v2, v4, v5}, Landroid/widget/ImageView;->setPadding(IIII)V

    iget-object v0, p0, Lcom/xingbook/ui/InsetTingTingViews;->f:Landroid/widget/ImageView;

    invoke-virtual {v0}, Landroid/widget/ImageView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout$LayoutParams;

    const/high16 v1, 0x42b0

    mul-float/2addr v1, p1

    float-to-int v1, v1

    iput v1, v0, Landroid/widget/RelativeLayout$LayoutParams;->width:I

    const/high16 v1, 0x4284

    mul-float/2addr v1, p1

    float-to-int v1, v1

    iput v1, v0, Landroid/widget/RelativeLayout$LayoutParams;->height:I

    const v1, 0x44238000

    mul-float/2addr v1, p1

    float-to-int v1, v1

    iput v1, v0, Landroid/widget/RelativeLayout$LayoutParams;->leftMargin:I

    move v2, v3

    :goto_0
    iget-object v0, p0, Lcom/xingbook/ui/InsetTingTingViews;->j:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v2, v0, :cond_0

    mul-int/lit8 v4, v2, 0x7f

    iget-object v0, p0, Lcom/xingbook/ui/InsetTingTingViews;->j:Ljava/util/ArrayList;

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/ui/l;

    iget-object v1, v0, Lcom/xingbook/ui/l;->a:Landroid/view/View;

    invoke-virtual {v1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v1

    check-cast v1, Landroid/widget/RelativeLayout$LayoutParams;

    mul-float v5, v8, p1

    float-to-int v5, v5

    iput v5, v1, Landroid/widget/RelativeLayout$LayoutParams;->width:I

    add-int/lit16 v5, v4, 0xc1

    int-to-float v5, v5

    mul-float/2addr v5, p1

    sub-float/2addr v5, v9

    float-to-int v5, v5

    iput v5, v1, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    iget-object v1, v0, Lcom/xingbook/ui/l;->b:Landroid/widget/ImageView;

    invoke-virtual {v1}, Landroid/widget/ImageView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v1

    check-cast v1, Landroid/widget/RelativeLayout$LayoutParams;

    const/high16 v5, 0x42d2

    mul-float/2addr v5, p1

    float-to-int v5, v5

    iput v5, v1, Landroid/widget/RelativeLayout$LayoutParams;->width:I

    const/high16 v5, 0x42d2

    mul-float/2addr v5, p1

    float-to-int v5, v5

    iput v5, v1, Landroid/widget/RelativeLayout$LayoutParams;->height:I

    mul-float v5, v7, p1

    float-to-int v5, v5

    iput v5, v1, Landroid/widget/RelativeLayout$LayoutParams;->leftMargin:I

    add-int/lit8 v5, v4, 0x4e

    int-to-float v5, v5

    mul-float/2addr v5, p1

    float-to-int v5, v5

    iput v5, v1, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    iget-object v1, v0, Lcom/xingbook/ui/l;->d:Landroid/widget/TextView;

    const/high16 v5, 0x420c

    mul-float/2addr v5, p1

    invoke-virtual {v1, v3, v5}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v1, v0, Lcom/xingbook/ui/l;->d:Landroid/widget/TextView;

    invoke-virtual {v1}, Landroid/widget/TextView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v1

    check-cast v1, Landroid/widget/RelativeLayout$LayoutParams;

    const/high16 v5, 0x4313

    mul-float/2addr v5, p1

    float-to-int v5, v5

    iput v5, v1, Landroid/widget/RelativeLayout$LayoutParams;->leftMargin:I

    add-int/lit8 v5, v4, 0x50

    int-to-float v5, v5

    mul-float/2addr v5, p1

    float-to-int v5, v5

    iput v5, v1, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    iget-object v1, v0, Lcom/xingbook/ui/l;->e:Landroid/widget/TextView;

    mul-float v5, v10, p1

    invoke-virtual {v1, v3, v5}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v1, v0, Lcom/xingbook/ui/l;->e:Landroid/widget/TextView;

    invoke-virtual {v1}, Landroid/widget/TextView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v1

    check-cast v1, Landroid/widget/RelativeLayout$LayoutParams;

    const/high16 v5, 0x4316

    mul-float/2addr v5, p1

    float-to-int v5, v5

    iput v5, v1, Landroid/widget/RelativeLayout$LayoutParams;->leftMargin:I

    add-int/lit16 v5, v4, 0x93

    int-to-float v5, v5

    mul-float/2addr v5, p1

    float-to-int v5, v5

    iput v5, v1, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    iget-object v1, v0, Lcom/xingbook/ui/l;->c:Landroid/widget/ImageView;

    const/high16 v5, 0x42c8

    mul-float/2addr v5, p1

    float-to-int v5, v5

    mul-float v6, v7, p1

    float-to-int v6, v6

    invoke-virtual {v1, v5, v3, v6, v3}, Landroid/widget/ImageView;->setPadding(IIII)V

    iget-object v1, v0, Lcom/xingbook/ui/l;->c:Landroid/widget/ImageView;

    invoke-virtual {v1}, Landroid/widget/ImageView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v1

    check-cast v1, Landroid/widget/RelativeLayout$LayoutParams;

    const/high16 v5, 0x435d

    mul-float/2addr v5, p1

    float-to-int v5, v5

    iput v5, v1, Landroid/widget/RelativeLayout$LayoutParams;->width:I

    const/high16 v5, 0x42c6

    mul-float/2addr v5, p1

    float-to-int v5, v5

    iput v5, v1, Landroid/widget/RelativeLayout$LayoutParams;->height:I

    const v5, 0x44024000

    mul-float/2addr v5, p1

    float-to-int v5, v5

    iput v5, v1, Landroid/widget/RelativeLayout$LayoutParams;->leftMargin:I

    add-int/lit8 v5, v4, 0x51

    int-to-float v5, v5

    mul-float/2addr v5, p1

    float-to-int v5, v5

    iput v5, v1, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    iget-object v1, v0, Lcom/xingbook/ui/l;->f:Landroid/widget/LinearLayout;

    invoke-virtual {v1}, Landroid/widget/LinearLayout;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v1

    check-cast v1, Landroid/widget/RelativeLayout$LayoutParams;

    mul-float v5, v8, p1

    float-to-int v5, v5

    iput v5, v1, Landroid/widget/RelativeLayout$LayoutParams;->width:I

    const/high16 v5, 0x42fe

    mul-float/2addr v5, p1

    float-to-int v5, v5

    iput v5, v1, Landroid/widget/RelativeLayout$LayoutParams;->height:I

    add-int/lit8 v4, v4, 0x42

    int-to-float v4, v4

    mul-float/2addr v4, p1

    float-to-int v4, v4

    iput v4, v1, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    iget-object v1, v0, Lcom/xingbook/ui/l;->h:Landroid/widget/ImageView;

    invoke-virtual {v1}, Landroid/widget/ImageView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v1

    check-cast v1, Landroid/widget/LinearLayout$LayoutParams;

    const/high16 v4, 0x4282

    mul-float/2addr v4, p1

    float-to-int v4, v4

    iput v4, v1, Landroid/widget/LinearLayout$LayoutParams;->width:I

    const/high16 v4, 0x428a

    mul-float/2addr v4, p1

    float-to-int v4, v4

    iput v4, v1, Landroid/widget/LinearLayout$LayoutParams;->height:I

    iget-object v0, v0, Lcom/xingbook/ui/l;->g:Landroid/widget/TextView;

    mul-float v1, v10, p1

    invoke-virtual {v0, v3, v1}, Landroid/widget/TextView;->setTextSize(IF)V

    add-int/lit8 v0, v2, 0x1

    move v2, v0

    goto/16 :goto_0
.end method

.method private a(I)V
    .locals 2

    new-instance v0, Landroid/content/Intent;

    const-string v1, "com.xingpark.ting.play.cditem.action.change"

    invoke-direct {v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    const-string v1, "selected"

    invoke-virtual {v0, v1, p1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    invoke-virtual {p0}, Lcom/xingbook/ui/InsetTingTingViews;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {v1, v0}, Landroid/content/Context;->sendBroadcast(Landroid/content/Intent;)V

    return-void
.end method

.method static synthetic b(Lcom/xingbook/ui/InsetTingTingViews;)Lcom/xingbook/ui/k;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ui/InsetTingTingViews;->k:Lcom/xingbook/ui/k;

    return-object v0
.end method

.method private b()V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/ui/InsetTingTingViews;->h:Lcom/xingbook/ting/receiver/PlayerStateReceiver;

    if-nez v0, :cond_0

    new-instance v0, Lcom/xingbook/ting/receiver/PlayerStateReceiver;

    new-instance v1, Lcom/xingbook/ui/i;

    invoke-direct {v1, p0}, Lcom/xingbook/ui/i;-><init>(Lcom/xingbook/ui/InsetTingTingViews;)V

    invoke-direct {v0, v1}, Lcom/xingbook/ting/receiver/PlayerStateReceiver;-><init>(Lcom/xingbook/ting/receiver/b;)V

    iput-object v0, p0, Lcom/xingbook/ui/InsetTingTingViews;->h:Lcom/xingbook/ting/receiver/PlayerStateReceiver;

    :cond_0
    iget-object v0, p0, Lcom/xingbook/ui/InsetTingTingViews;->h:Lcom/xingbook/ting/receiver/PlayerStateReceiver;

    invoke-virtual {p0}, Lcom/xingbook/ui/InsetTingTingViews;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/ting/receiver/PlayerStateReceiver;->a(Landroid/content/Context;)V

    new-instance v0, Lcom/xingbook/ting/receiver/TingRetrieverReceiver;

    new-instance v1, Lcom/xingbook/ui/j;

    invoke-direct {v1, p0}, Lcom/xingbook/ui/j;-><init>(Lcom/xingbook/ui/InsetTingTingViews;)V

    invoke-direct {v0, v1}, Lcom/xingbook/ting/receiver/TingRetrieverReceiver;-><init>(Lcom/xingbook/ting/receiver/d;)V

    iput-object v0, p0, Lcom/xingbook/ui/InsetTingTingViews;->i:Lcom/xingbook/ting/receiver/TingRetrieverReceiver;

    iget-object v0, p0, Lcom/xingbook/ui/InsetTingTingViews;->i:Lcom/xingbook/ting/receiver/TingRetrieverReceiver;

    invoke-virtual {p0}, Lcom/xingbook/ui/InsetTingTingViews;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/ting/receiver/TingRetrieverReceiver;->a(Landroid/content/Context;)V

    return-void
.end method

.method static synthetic c(Lcom/xingbook/ui/InsetTingTingViews;)Ljava/util/ArrayList;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ui/InsetTingTingViews;->j:Ljava/util/ArrayList;

    return-object v0
.end method


# virtual methods
.method public a()V
    .locals 2

    new-instance v0, Landroid/content/Intent;

    const-string v1, "com.111.xingpark.ting.play.musicservice.action.PAUSE"

    invoke-direct {v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    invoke-virtual {p0}, Lcom/xingbook/ui/InsetTingTingViews;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {v1, v0}, Landroid/content/Context;->startService(Landroid/content/Intent;)Landroid/content/ComponentName;

    return-void
.end method

.method public a(Ljava/util/ArrayList;I)V
    .locals 13

    const/high16 v12, 0x41b0

    const/4 v11, 0x1

    const/4 v10, -0x2

    const v9, 0x44398000

    const/4 v1, 0x0

    iput-object p1, p0, Lcom/xingbook/ui/InsetTingTingViews;->g:Ljava/util/ArrayList;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/xingbook/ui/InsetTingTingViews;->j:Ljava/util/ArrayList;

    int-to-float v0, p2

    div-float/2addr v0, v9

    iput v0, p0, Lcom/xingbook/ui/InsetTingTingViews;->a:F

    const/4 v0, -0x1

    invoke-virtual {p0, v0}, Lcom/xingbook/ui/InsetTingTingViews;->setBackgroundColor(I)V

    invoke-virtual {p0}, Lcom/xingbook/ui/InsetTingTingViews;->getContext()Landroid/content/Context;

    move-result-object v3

    new-instance v0, Landroid/widget/TextView;

    invoke-direct {v0, v3}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/ui/InsetTingTingViews;->e:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/xingbook/ui/InsetTingTingViews;->e:Landroid/widget/TextView;

    const/high16 v2, 0x420c

    iget v4, p0, Lcom/xingbook/ui/InsetTingTingViews;->a:F

    mul-float/2addr v2, v4

    invoke-virtual {v0, v1, v2}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v0, p0, Lcom/xingbook/ui/InsetTingTingViews;->e:Landroid/widget/TextView;

    const v2, -0x99999a

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, p0, Lcom/xingbook/ui/InsetTingTingViews;->e:Landroid/widget/TextView;

    const/16 v2, 0x13

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setGravity(I)V

    iget-object v0, p0, Lcom/xingbook/ui/InsetTingTingViews;->e:Landroid/widget/TextView;

    iget v2, p0, Lcom/xingbook/ui/InsetTingTingViews;->a:F

    mul-float/2addr v2, v12

    float-to-int v2, v2

    invoke-virtual {v0, v2, v1, v1, v1}, Landroid/widget/TextView;->setPadding(IIII)V

    iget-object v0, p0, Lcom/xingbook/ui/InsetTingTingViews;->e:Landroid/widget/TextView;

    const v2, -0x101011

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setBackgroundColor(I)V

    iget-object v0, p0, Lcom/xingbook/ui/InsetTingTingViews;->e:Landroid/widget/TextView;

    const-string v2, "\u661f\u5b9d\u542c\u542c"

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    new-instance v0, Landroid/widget/RelativeLayout$LayoutParams;

    iget v2, p0, Lcom/xingbook/ui/InsetTingTingViews;->a:F

    mul-float/2addr v2, v9

    float-to-int v2, v2

    const/high16 v4, 0x4284

    iget v5, p0, Lcom/xingbook/ui/InsetTingTingViews;->a:F

    mul-float/2addr v4, v5

    float-to-int v4, v4

    invoke-direct {v0, v2, v4}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    iget-object v2, p0, Lcom/xingbook/ui/InsetTingTingViews;->e:Landroid/widget/TextView;

    invoke-virtual {v2, v0}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/xingbook/ui/InsetTingTingViews;->e:Landroid/widget/TextView;

    invoke-virtual {p0, v0}, Lcom/xingbook/ui/InsetTingTingViews;->addView(Landroid/view/View;)V

    new-instance v0, Landroid/widget/ImageView;

    invoke-direct {v0, v3}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/ui/InsetTingTingViews;->f:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/xingbook/ui/InsetTingTingViews;->f:Landroid/widget/ImageView;

    sget-object v2, Landroid/widget/ImageView$ScaleType;->FIT_XY:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    iget-object v0, p0, Lcom/xingbook/ui/InsetTingTingViews;->f:Landroid/widget/ImageView;

    const/4 v2, 0x2

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setId(I)V

    iget-object v0, p0, Lcom/xingbook/ui/InsetTingTingViews;->f:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/xingbook/ui/InsetTingTingViews;->f:Landroid/widget/ImageView;

    iget v2, p0, Lcom/xingbook/ui/InsetTingTingViews;->a:F

    mul-float/2addr v2, v12

    float-to-int v2, v2

    const/high16 v4, 0x4120

    iget v5, p0, Lcom/xingbook/ui/InsetTingTingViews;->a:F

    mul-float/2addr v4, v5

    float-to-int v4, v4

    iget v5, p0, Lcom/xingbook/ui/InsetTingTingViews;->a:F

    mul-float/2addr v5, v12

    float-to-int v5, v5

    const/high16 v6, 0x4180

    iget v7, p0, Lcom/xingbook/ui/InsetTingTingViews;->a:F

    mul-float/2addr v6, v7

    float-to-int v6, v6

    invoke-virtual {v0, v2, v4, v5, v6}, Landroid/widget/ImageView;->setPadding(IIII)V

    new-instance v0, Landroid/widget/RelativeLayout$LayoutParams;

    const/high16 v2, 0x42b0

    iget v4, p0, Lcom/xingbook/ui/InsetTingTingViews;->a:F

    mul-float/2addr v2, v4

    float-to-int v2, v2

    const/high16 v4, 0x4284

    iget v5, p0, Lcom/xingbook/ui/InsetTingTingViews;->a:F

    mul-float/2addr v4, v5

    float-to-int v4, v4

    invoke-direct {v0, v2, v4}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const v2, 0x44238000

    iget v4, p0, Lcom/xingbook/ui/InsetTingTingViews;->a:F

    mul-float/2addr v2, v4

    float-to-int v2, v2

    iput v2, v0, Landroid/widget/RelativeLayout$LayoutParams;->leftMargin:I

    iget-object v2, p0, Lcom/xingbook/ui/InsetTingTingViews;->f:Landroid/widget/ImageView;

    invoke-virtual {v2, v0}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/xingbook/ui/InsetTingTingViews;->f:Landroid/widget/ImageView;

    const v2, 0x7f0201d0

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v0, p0, Lcom/xingbook/ui/InsetTingTingViews;->f:Landroid/widget/ImageView;

    invoke-virtual {p0, v0}, Lcom/xingbook/ui/InsetTingTingViews;->addView(Landroid/view/View;)V

    move v0, v1

    :goto_0
    invoke-virtual {p1}, Ljava/util/ArrayList;->size()I

    move-result v2

    if-lt v0, v2, :cond_1

    new-instance v0, Landroid/view/View;

    invoke-direct {v0, v3}, Landroid/view/View;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/ui/InsetTingTingViews;->b:Landroid/view/View;

    iget-object v0, p0, Lcom/xingbook/ui/InsetTingTingViews;->b:Landroid/view/View;

    const v2, -0x181819

    invoke-virtual {v0, v2}, Landroid/view/View;->setBackgroundColor(I)V

    new-instance v0, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-virtual {p1}, Ljava/util/ArrayList;->size()I

    move-result v2

    add-int/lit8 v2, v2, -0x1

    mul-int/lit8 v2, v2, 0x7f

    add-int/lit16 v2, v2, 0xc1

    int-to-float v2, v2

    iget v4, p0, Lcom/xingbook/ui/InsetTingTingViews;->a:F

    mul-float/2addr v2, v4

    float-to-int v2, v2

    invoke-direct {v0, v11, v2}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    iget-object v2, p0, Lcom/xingbook/ui/InsetTingTingViews;->b:Landroid/view/View;

    invoke-virtual {v2, v0}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/xingbook/ui/InsetTingTingViews;->b:Landroid/view/View;

    invoke-virtual {p0, v0}, Lcom/xingbook/ui/InsetTingTingViews;->addView(Landroid/view/View;)V

    new-instance v0, Landroid/view/View;

    invoke-direct {v0, v3}, Landroid/view/View;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/ui/InsetTingTingViews;->c:Landroid/view/View;

    iget-object v0, p0, Lcom/xingbook/ui/InsetTingTingViews;->c:Landroid/view/View;

    const v2, -0x181819

    invoke-virtual {v0, v2}, Landroid/view/View;->setBackgroundColor(I)V

    new-instance v0, Landroid/widget/RelativeLayout$LayoutParams;

    iget v2, p0, Lcom/xingbook/ui/InsetTingTingViews;->a:F

    mul-float/2addr v2, v9

    float-to-int v2, v2

    invoke-direct {v0, v2, v11}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    iget-object v2, p0, Lcom/xingbook/ui/InsetTingTingViews;->c:Landroid/view/View;

    invoke-virtual {v2, v0}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/xingbook/ui/InsetTingTingViews;->c:Landroid/view/View;

    invoke-virtual {p0, v0}, Lcom/xingbook/ui/InsetTingTingViews;->addView(Landroid/view/View;)V

    new-instance v0, Landroid/view/View;

    invoke-direct {v0, v3}, Landroid/view/View;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/ui/InsetTingTingViews;->d:Landroid/view/View;

    iget-object v0, p0, Lcom/xingbook/ui/InsetTingTingViews;->d:Landroid/view/View;

    const v2, -0x181819

    invoke-virtual {v0, v2}, Landroid/view/View;->setBackgroundColor(I)V

    new-instance v0, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-virtual {p1}, Ljava/util/ArrayList;->size()I

    move-result v2

    add-int/lit8 v2, v2, -0x1

    mul-int/lit8 v2, v2, 0x7f

    add-int/lit16 v2, v2, 0xc1

    int-to-float v2, v2

    iget v4, p0, Lcom/xingbook/ui/InsetTingTingViews;->a:F

    mul-float/2addr v2, v4

    float-to-int v2, v2

    invoke-direct {v0, v11, v2}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    iget v2, p0, Lcom/xingbook/ui/InsetTingTingViews;->a:F

    mul-float/2addr v2, v9

    const/high16 v4, 0x3f80

    sub-float/2addr v2, v4

    float-to-int v2, v2

    iput v2, v0, Landroid/widget/RelativeLayout$LayoutParams;->leftMargin:I

    iget-object v2, p0, Lcom/xingbook/ui/InsetTingTingViews;->d:Landroid/view/View;

    invoke-virtual {v2, v0}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/xingbook/ui/InsetTingTingViews;->d:Landroid/view/View;

    invoke-virtual {p0, v0}, Lcom/xingbook/ui/InsetTingTingViews;->addView(Landroid/view/View;)V

    move v2, v1

    :goto_1
    invoke-virtual {p1}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lt v2, v0, :cond_2

    :cond_0
    return-void

    :cond_1
    new-instance v2, Lcom/xingbook/ui/l;

    invoke-direct {v2, p0}, Lcom/xingbook/ui/l;-><init>(Lcom/xingbook/ui/InsetTingTingViews;)V

    iput v0, v2, Lcom/xingbook/ui/l;->j:I

    iget-object v4, p0, Lcom/xingbook/ui/InsetTingTingViews;->j:Ljava/util/ArrayList;

    invoke-virtual {v4, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    mul-int/lit8 v4, v0, 0x7f

    new-instance v5, Landroid/widget/ImageView;

    invoke-direct {v5, v3}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    iput-object v5, v2, Lcom/xingbook/ui/l;->b:Landroid/widget/ImageView;

    iget-object v5, v2, Lcom/xingbook/ui/l;->b:Landroid/widget/ImageView;

    sget-object v6, Landroid/widget/ImageView$ScaleType;->FIT_XY:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v5, v6}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    new-instance v5, Landroid/widget/RelativeLayout$LayoutParams;

    const/high16 v6, 0x42d2

    iget v7, p0, Lcom/xingbook/ui/InsetTingTingViews;->a:F

    mul-float/2addr v6, v7

    float-to-int v6, v6

    const/high16 v7, 0x42d2

    iget v8, p0, Lcom/xingbook/ui/InsetTingTingViews;->a:F

    mul-float/2addr v7, v8

    float-to-int v7, v7

    invoke-direct {v5, v6, v7}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    iget v6, p0, Lcom/xingbook/ui/InsetTingTingViews;->a:F

    mul-float/2addr v6, v12

    float-to-int v6, v6

    iput v6, v5, Landroid/widget/RelativeLayout$LayoutParams;->leftMargin:I

    add-int/lit8 v6, v4, 0x4e

    int-to-float v6, v6

    iget v7, p0, Lcom/xingbook/ui/InsetTingTingViews;->a:F

    mul-float/2addr v6, v7

    float-to-int v6, v6

    iput v6, v5, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    iget-object v6, v2, Lcom/xingbook/ui/l;->b:Landroid/widget/ImageView;

    invoke-virtual {v6, v5}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v5, v2, Lcom/xingbook/ui/l;->b:Landroid/widget/ImageView;

    const v6, 0x7f020059

    invoke-virtual {v5, v6}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v5, v2, Lcom/xingbook/ui/l;->b:Landroid/widget/ImageView;

    invoke-virtual {p0, v5}, Lcom/xingbook/ui/InsetTingTingViews;->addView(Landroid/view/View;)V

    new-instance v5, Landroid/widget/TextView;

    invoke-direct {v5, v3}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iput-object v5, v2, Lcom/xingbook/ui/l;->d:Landroid/widget/TextView;

    iget-object v5, v2, Lcom/xingbook/ui/l;->d:Landroid/widget/TextView;

    const/high16 v6, 0x420c

    iget v7, p0, Lcom/xingbook/ui/InsetTingTingViews;->a:F

    mul-float/2addr v6, v7

    invoke-virtual {v5, v1, v6}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v5, v2, Lcom/xingbook/ui/l;->d:Landroid/widget/TextView;

    const/high16 v6, -0x100

    invoke-virtual {v5, v6}, Landroid/widget/TextView;->setTextColor(I)V

    new-instance v5, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-direct {v5, v10, v10}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/high16 v6, 0x4313

    iget v7, p0, Lcom/xingbook/ui/InsetTingTingViews;->a:F

    mul-float/2addr v6, v7

    float-to-int v6, v6

    iput v6, v5, Landroid/widget/RelativeLayout$LayoutParams;->leftMargin:I

    add-int/lit8 v6, v4, 0x50

    int-to-float v6, v6

    iget v7, p0, Lcom/xingbook/ui/InsetTingTingViews;->a:F

    mul-float/2addr v6, v7

    float-to-int v6, v6

    iput v6, v5, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    iget-object v6, v2, Lcom/xingbook/ui/l;->d:Landroid/widget/TextView;

    invoke-virtual {v6, v5}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v5, v2, Lcom/xingbook/ui/l;->d:Landroid/widget/TextView;

    const-string v6, "\u6b63\u5728\u52a0\u8f7d\u00b7\u00b7\u00b7"

    invoke-virtual {v5, v6}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v5, v2, Lcom/xingbook/ui/l;->d:Landroid/widget/TextView;

    invoke-virtual {p0, v5}, Lcom/xingbook/ui/InsetTingTingViews;->addView(Landroid/view/View;)V

    new-instance v5, Landroid/widget/TextView;

    invoke-direct {v5, v3}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iput-object v5, v2, Lcom/xingbook/ui/l;->e:Landroid/widget/TextView;

    iget-object v5, v2, Lcom/xingbook/ui/l;->e:Landroid/widget/TextView;

    const/high16 v6, 0x41d8

    iget v7, p0, Lcom/xingbook/ui/InsetTingTingViews;->a:F

    mul-float/2addr v6, v7

    invoke-virtual {v5, v1, v6}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v5, v2, Lcom/xingbook/ui/l;->e:Landroid/widget/TextView;

    const v6, -0x99999a

    invoke-virtual {v5, v6}, Landroid/widget/TextView;->setTextColor(I)V

    new-instance v5, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-direct {v5, v10, v10}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/high16 v6, 0x4316

    iget v7, p0, Lcom/xingbook/ui/InsetTingTingViews;->a:F

    mul-float/2addr v6, v7

    float-to-int v6, v6

    iput v6, v5, Landroid/widget/RelativeLayout$LayoutParams;->leftMargin:I

    add-int/lit16 v6, v4, 0x93

    int-to-float v6, v6

    iget v7, p0, Lcom/xingbook/ui/InsetTingTingViews;->a:F

    mul-float/2addr v6, v7

    float-to-int v6, v6

    iput v6, v5, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    iget-object v6, v2, Lcom/xingbook/ui/l;->e:Landroid/widget/TextView;

    invoke-virtual {v6, v5}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v5, v2, Lcom/xingbook/ui/l;->e:Landroid/widget/TextView;

    const-string v6, "\u65f6\u957f\uff1a00:00"

    invoke-virtual {v5, v6}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v5, v2, Lcom/xingbook/ui/l;->e:Landroid/widget/TextView;

    invoke-virtual {p0, v5}, Lcom/xingbook/ui/InsetTingTingViews;->addView(Landroid/view/View;)V

    new-instance v5, Landroid/widget/ImageView;

    invoke-direct {v5, v3}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    iput-object v5, v2, Lcom/xingbook/ui/l;->c:Landroid/widget/ImageView;

    iget-object v5, v2, Lcom/xingbook/ui/l;->c:Landroid/widget/ImageView;

    sget-object v6, Landroid/widget/ImageView$ScaleType;->FIT_XY:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v5, v6}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    iget-object v5, v2, Lcom/xingbook/ui/l;->c:Landroid/widget/ImageView;

    const/high16 v6, 0x42c8

    iget v7, p0, Lcom/xingbook/ui/InsetTingTingViews;->a:F

    mul-float/2addr v6, v7

    float-to-int v6, v6

    iget v7, p0, Lcom/xingbook/ui/InsetTingTingViews;->a:F

    mul-float/2addr v7, v12

    float-to-int v7, v7

    invoke-virtual {v5, v6, v1, v7, v1}, Landroid/widget/ImageView;->setPadding(IIII)V

    iget-object v5, v2, Lcom/xingbook/ui/l;->c:Landroid/widget/ImageView;

    invoke-virtual {v5, v11}, Landroid/widget/ImageView;->setId(I)V

    iget-object v5, v2, Lcom/xingbook/ui/l;->c:Landroid/widget/ImageView;

    invoke-virtual {v5, v2}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    new-instance v5, Landroid/widget/RelativeLayout$LayoutParams;

    const/high16 v6, 0x435d

    iget v7, p0, Lcom/xingbook/ui/InsetTingTingViews;->a:F

    mul-float/2addr v6, v7

    float-to-int v6, v6

    const/high16 v7, 0x42c6

    iget v8, p0, Lcom/xingbook/ui/InsetTingTingViews;->a:F

    mul-float/2addr v7, v8

    float-to-int v7, v7

    invoke-direct {v5, v6, v7}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const v6, 0x44024000

    iget v7, p0, Lcom/xingbook/ui/InsetTingTingViews;->a:F

    mul-float/2addr v6, v7

    float-to-int v6, v6

    iput v6, v5, Landroid/widget/RelativeLayout$LayoutParams;->leftMargin:I

    add-int/lit8 v6, v4, 0x51

    int-to-float v6, v6

    iget v7, p0, Lcom/xingbook/ui/InsetTingTingViews;->a:F

    mul-float/2addr v6, v7

    float-to-int v6, v6

    iput v6, v5, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    iget-object v6, v2, Lcom/xingbook/ui/l;->c:Landroid/widget/ImageView;

    invoke-virtual {v6, v5}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v5, v2, Lcom/xingbook/ui/l;->c:Landroid/widget/ImageView;

    const v6, 0x7f0201d3

    invoke-virtual {v5, v6}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v5, v2, Lcom/xingbook/ui/l;->c:Landroid/widget/ImageView;

    invoke-virtual {p0, v5}, Lcom/xingbook/ui/InsetTingTingViews;->addView(Landroid/view/View;)V

    new-instance v5, Landroid/widget/LinearLayout;

    invoke-direct {v5, v3}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    iput-object v5, v2, Lcom/xingbook/ui/l;->f:Landroid/widget/LinearLayout;

    iget-object v5, v2, Lcom/xingbook/ui/l;->f:Landroid/widget/LinearLayout;

    const/4 v6, 0x3

    invoke-virtual {v5, v6}, Landroid/widget/LinearLayout;->setId(I)V

    iget-object v5, v2, Lcom/xingbook/ui/l;->f:Landroid/widget/LinearLayout;

    invoke-virtual {v5, v2}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v5, v2, Lcom/xingbook/ui/l;->f:Landroid/widget/LinearLayout;

    const/4 v6, -0x1

    invoke-virtual {v5, v6}, Landroid/widget/LinearLayout;->setBackgroundColor(I)V

    iget-object v5, v2, Lcom/xingbook/ui/l;->f:Landroid/widget/LinearLayout;

    const/16 v6, 0x11

    invoke-virtual {v5, v6}, Landroid/widget/LinearLayout;->setGravity(I)V

    iget-object v5, v2, Lcom/xingbook/ui/l;->f:Landroid/widget/LinearLayout;

    invoke-virtual {v5, v1}, Landroid/widget/LinearLayout;->setOrientation(I)V

    iget-object v5, v2, Lcom/xingbook/ui/l;->f:Landroid/widget/LinearLayout;

    const/16 v6, 0x8

    invoke-virtual {v5, v6}, Landroid/widget/LinearLayout;->setVisibility(I)V

    new-instance v5, Landroid/widget/RelativeLayout$LayoutParams;

    iget v6, p0, Lcom/xingbook/ui/InsetTingTingViews;->a:F

    mul-float/2addr v6, v9

    float-to-int v6, v6

    const/high16 v7, 0x42fe

    iget v8, p0, Lcom/xingbook/ui/InsetTingTingViews;->a:F

    mul-float/2addr v7, v8

    float-to-int v7, v7

    invoke-direct {v5, v6, v7}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    add-int/lit8 v6, v4, 0x42

    int-to-float v6, v6

    iget v7, p0, Lcom/xingbook/ui/InsetTingTingViews;->a:F

    mul-float/2addr v6, v7

    float-to-int v6, v6

    iput v6, v5, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    iget-object v6, v2, Lcom/xingbook/ui/l;->f:Landroid/widget/LinearLayout;

    invoke-virtual {v6, v5}, Landroid/widget/LinearLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v5, v2, Lcom/xingbook/ui/l;->f:Landroid/widget/LinearLayout;

    invoke-virtual {p0, v5}, Lcom/xingbook/ui/InsetTingTingViews;->addView(Landroid/view/View;)V

    new-instance v5, Landroid/widget/ImageView;

    invoke-direct {v5, v3}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    iput-object v5, v2, Lcom/xingbook/ui/l;->h:Landroid/widget/ImageView;

    iget-object v5, v2, Lcom/xingbook/ui/l;->h:Landroid/widget/ImageView;

    sget-object v6, Landroid/widget/ImageView$ScaleType;->FIT_XY:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v5, v6}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    new-instance v5, Landroid/widget/LinearLayout$LayoutParams;

    const/high16 v6, 0x4282

    iget v7, p0, Lcom/xingbook/ui/InsetTingTingViews;->a:F

    mul-float/2addr v6, v7

    float-to-int v6, v6

    const/high16 v7, 0x428a

    iget v8, p0, Lcom/xingbook/ui/InsetTingTingViews;->a:F

    mul-float/2addr v7, v8

    float-to-int v7, v7

    invoke-direct {v5, v6, v7}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    iget-object v6, v2, Lcom/xingbook/ui/l;->h:Landroid/widget/ImageView;

    invoke-virtual {v6, v5}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v5, v2, Lcom/xingbook/ui/l;->h:Landroid/widget/ImageView;

    const v6, 0x7f020240

    invoke-virtual {v5, v6}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v5, v2, Lcom/xingbook/ui/l;->f:Landroid/widget/LinearLayout;

    iget-object v6, v2, Lcom/xingbook/ui/l;->h:Landroid/widget/ImageView;

    invoke-virtual {v5, v6}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    new-instance v5, Landroid/widget/TextView;

    invoke-direct {v5, v3}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iput-object v5, v2, Lcom/xingbook/ui/l;->g:Landroid/widget/TextView;

    iget-object v5, v2, Lcom/xingbook/ui/l;->g:Landroid/widget/TextView;

    const/high16 v6, 0x41d8

    iget v7, p0, Lcom/xingbook/ui/InsetTingTingViews;->a:F

    mul-float/2addr v6, v7

    invoke-virtual {v5, v1, v6}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v5, v2, Lcom/xingbook/ui/l;->g:Landroid/widget/TextView;

    const v6, -0x99999a

    invoke-virtual {v5, v6}, Landroid/widget/TextView;->setTextColor(I)V

    new-instance v5, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v5, v10, v10}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    iget-object v6, v2, Lcom/xingbook/ui/l;->g:Landroid/widget/TextView;

    invoke-virtual {v6, v5}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v5, v2, Lcom/xingbook/ui/l;->g:Landroid/widget/TextView;

    const-string v6, "\u8d44\u6e90\u52a0\u8f7d\u5931\u8d25\uff0c\u70b9\u51fb\u91cd\u65b0\u52a0\u8f7d"

    invoke-virtual {v5, v6}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v5, v2, Lcom/xingbook/ui/l;->f:Landroid/widget/LinearLayout;

    iget-object v6, v2, Lcom/xingbook/ui/l;->g:Landroid/widget/TextView;

    invoke-virtual {v5, v6}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    new-instance v5, Landroid/view/View;

    invoke-direct {v5, v3}, Landroid/view/View;-><init>(Landroid/content/Context;)V

    iput-object v5, v2, Lcom/xingbook/ui/l;->a:Landroid/view/View;

    iget-object v5, v2, Lcom/xingbook/ui/l;->a:Landroid/view/View;

    const v6, -0x181819

    invoke-virtual {v5, v6}, Landroid/view/View;->setBackgroundColor(I)V

    new-instance v5, Landroid/widget/RelativeLayout$LayoutParams;

    iget v6, p0, Lcom/xingbook/ui/InsetTingTingViews;->a:F

    mul-float/2addr v6, v9

    float-to-int v6, v6

    invoke-direct {v5, v6, v11}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    add-int/lit16 v4, v4, 0xc1

    int-to-float v4, v4

    iget v6, p0, Lcom/xingbook/ui/InsetTingTingViews;->a:F

    mul-float/2addr v4, v6

    const/high16 v6, 0x3f80

    sub-float/2addr v4, v6

    float-to-int v4, v4

    iput v4, v5, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    iget-object v4, v2, Lcom/xingbook/ui/l;->a:Landroid/view/View;

    invoke-virtual {v4, v5}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v2, v2, Lcom/xingbook/ui/l;->a:Landroid/view/View;

    invoke-virtual {p0, v2}, Lcom/xingbook/ui/InsetTingTingViews;->addView(Landroid/view/View;)V

    add-int/lit8 v0, v0, 0x1

    goto/16 :goto_0

    :cond_2
    invoke-virtual {p1, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/b/k;

    iget-object v1, p0, Lcom/xingbook/ui/InsetTingTingViews;->j:Ljava/util/ArrayList;

    invoke-virtual {v1, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/xingbook/ui/l;

    if-eqz v0, :cond_0

    if-eqz v1, :cond_0

    invoke-virtual {v0, v1}, Lcom/xingbook/b/k;->a(Lcom/xingbook/b/m;)V

    invoke-virtual {v0}, Lcom/xingbook/b/k;->a()Z

    invoke-virtual {p0}, Lcom/xingbook/ui/InsetTingTingViews;->getContext()Landroid/content/Context;

    move-result-object v4

    invoke-static {v4}, Lcom/xingbook/ting/play/j;->a(Landroid/content/Context;)Lcom/xingbook/ting/play/j;

    move-result-object v4

    invoke-virtual {v4}, Lcom/xingbook/ting/play/j;->g()Lcom/xingbook/audio/b/b;

    move-result-object v4

    invoke-virtual {v0}, Lcom/xingbook/b/k;->t()Ljava/lang/String;

    move-result-object v5

    if-eqz v5, :cond_3

    if-eqz v4, :cond_3

    invoke-virtual {v0}, Lcom/xingbook/b/k;->t()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v4}, Lcom/xingbook/audio/b/b;->t()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v0, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_3

    invoke-static {v3}, Lcom/xingbook/ting/play/j;->a(Landroid/content/Context;)Lcom/xingbook/ting/play/j;

    move-result-object v0

    iget-object v0, v0, Lcom/xingbook/ting/play/j;->g:Lcom/xingbook/ting/play/g;

    sget-object v4, Lcom/xingbook/ting/play/g;->d:Lcom/xingbook/ting/play/g;

    if-ne v0, v4, :cond_3

    iget-object v0, v1, Lcom/xingbook/ui/l;->c:Landroid/widget/ImageView;

    invoke-virtual {v0, v11}, Landroid/widget/ImageView;->setSelected(Z)V

    :cond_3
    add-int/lit8 v1, v2, 0x1

    move v2, v1

    goto/16 :goto_1
.end method

.method public a(ZI)V
    .locals 10

    const/4 v9, 0x0

    new-instance v7, Lcom/xingbook/audio/b/a;

    const/4 v0, -0x1

    invoke-direct {v7, v0}, Lcom/xingbook/audio/b/a;-><init>(I)V

    const-string v0, "\u6765\u81ea\u5206\u4eab"

    invoke-virtual {v7, v0}, Lcom/xingbook/audio/b/a;->b(Ljava/lang/String;)V

    const-string v0, "f2bad3d750e04cfc9907284c5d381d38"

    invoke-virtual {v7, v0}, Lcom/xingbook/audio/b/a;->a(Ljava/lang/String;)V

    invoke-direct {p0, p2}, Lcom/xingbook/ui/InsetTingTingViews;->a(I)V

    iget-object v0, p0, Lcom/xingbook/ui/InsetTingTingViews;->g:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v8

    :goto_0
    invoke-interface {v8}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-nez v0, :cond_1

    if-nez p1, :cond_0

    invoke-virtual {p0}, Lcom/xingbook/ui/InsetTingTingViews;->getContext()Landroid/content/Context;

    move-result-object v0

    const-string v1, "\u5373\u5c06\u64ad\u653e\uff0c\u8bf7\u7a0d\u5019\u00b7\u00b7\u00b7"

    invoke-static {v0, v1, v9}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    :cond_0
    invoke-virtual {p0}, Lcom/xingbook/ui/InsetTingTingViews;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v7, p2, v0, v9, p1}, Lcom/xingbook/ting/activity/TingPlayAct;->b(Lcom/xingbook/audio/b/a;ILandroid/content/Context;ZZ)V

    return-void

    :cond_1
    invoke-interface {v8}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    move-object v5, v0

    check-cast v5, Lcom/xingbook/b/k;

    new-instance v0, Lcom/xingbook/audio/b/b;

    invoke-virtual {v5}, Lcom/xingbook/b/k;->s()I

    move-result v1

    invoke-virtual {v5}, Lcom/xingbook/b/k;->t()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v5}, Lcom/xingbook/b/k;->u()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v7}, Lcom/xingbook/audio/b/a;->u()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v5}, Lcom/xingbook/b/k;->ac()J

    move-result-wide v5

    invoke-direct/range {v0 .. v6}, Lcom/xingbook/audio/b/b;-><init>(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;J)V

    invoke-virtual {v7, v0}, Lcom/xingbook/audio/b/a;->a(Ljava/lang/Object;)V

    goto :goto_0
.end method

.method protected onAttachedToWindow()V
    .locals 0

    invoke-direct {p0}, Lcom/xingbook/ui/InsetTingTingViews;->b()V

    invoke-super {p0}, Landroid/widget/RelativeLayout;->onAttachedToWindow()V

    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 6

    const/4 v2, 0x1

    const/4 v3, 0x0

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    const/4 v1, 0x2

    if-ne v0, v1, :cond_1

    iget-object v0, p0, Lcom/xingbook/ui/InsetTingTingViews;->g:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v4

    move v1, v2

    :cond_0
    :goto_0
    invoke-interface {v4}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-nez v0, :cond_2

    if-eqz v1, :cond_3

    invoke-virtual {p0, v2, v3}, Lcom/xingbook/ui/InsetTingTingViews;->a(ZI)V

    :cond_1
    :goto_1
    return-void

    :cond_2
    invoke-interface {v4}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/b/k;

    iget-boolean v5, v0, Lcom/xingbook/b/k;->c:Z

    if-nez v5, :cond_0

    invoke-virtual {v0}, Lcom/xingbook/b/k;->a()Z

    move v1, v3

    goto :goto_0

    :cond_3
    invoke-virtual {p0}, Lcom/xingbook/ui/InsetTingTingViews;->getContext()Landroid/content/Context;

    move-result-object v0

    const-string v1, "\u6b63\u5728\u52a0\u8f7d\u6570\u636e\uff0c\u8bf7\u7a0d\u540e\u518d\u8bd5\u00b7\u00b7\u00b7"

    invoke-static {v0, v1, v3}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto :goto_1
.end method

.method protected onDetachedFromWindow()V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/ui/InsetTingTingViews;->h:Lcom/xingbook/ting/receiver/PlayerStateReceiver;

    invoke-virtual {p0}, Lcom/xingbook/ui/InsetTingTingViews;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/ting/receiver/PlayerStateReceiver;->b(Landroid/content/Context;)V

    iget-object v0, p0, Lcom/xingbook/ui/InsetTingTingViews;->i:Lcom/xingbook/ting/receiver/TingRetrieverReceiver;

    invoke-virtual {p0}, Lcom/xingbook/ui/InsetTingTingViews;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/ting/receiver/TingRetrieverReceiver;->b(Landroid/content/Context;)V

    invoke-super {p0}, Landroid/widget/RelativeLayout;->onDetachedFromWindow()V

    return-void
.end method

.method protected onSizeChanged(IIII)V
    .locals 2

    int-to-float v0, p1

    const v1, 0x44398000

    div-float/2addr v0, v1

    invoke-direct {p0, v0}, Lcom/xingbook/ui/InsetTingTingViews;->a(F)V

    invoke-super {p0, p1, p2, p3, p4}, Landroid/widget/RelativeLayout;->onSizeChanged(IIII)V

    return-void
.end method
